﻿#if WINDOWS_PHONE
#region File and License Information
/*
<File>
	<License>
		Copyright © 2009 - 2017, Daniel Vaughan. All rights reserved.
		This file is part of Calcium (http://calciumsdk.net), 
		which is released under the MIT License.
		See file /Documentation/License.txt for details.
	</License>
	<CreationDate>2010-12-09 21:33:16Z</CreationDate>
</File>
*/
#endregion

using System.IO;

using Microsoft.Phone.Tasks;

namespace Outcoder.LauncherModel.Launchers
{
	/* TODO: [DV] Comment. */
	public class PhotoResultAdapter : PhotoResultBase
	{
		readonly PhotoResult photoResult;

		public PhotoResultAdapter(PhotoResult photoResult)
		{
			this.photoResult = ArgumentValidator.AssertNotNull(photoResult, "photoResult");
		}

		public override Stream ChosenPhoto
		{
			get
			{
				return photoResult.ChosenPhoto;
			}
		}

		public override string OriginalFileName
		{
			get
			{
				return photoResult.OriginalFileName;
			}
		}

		public override TaskResult TaskResult
		{
			get
			{
				return photoResult.TaskResult;
			}
		}
	}
}
#endif